from django.db import models
from django.contrib.auth.models import User

class Location(models.Model):
	user = models.ForeignKey(User)
	updated = models.DateTimeField()
	latitude = models.FloatField()
	longitude = models.FloatField()
	speed = models.FloatField(null=True, blank=True)

	class Meta:
		app_label = "production"
